<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<div class="pageContent">
	<form method="post" action="<%=basePath %>articleType!edit.do?flag=update" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone);">
		<input type="hidden" name="articleType.id" value="<s:property value='articleType.id'/>"> 
		<div class="pageFormContent" layoutH="56">
			<p>
				<label>名称：</label>
				<input type="text" size="20" name="articleType.name" value="<s:property value='articleType.name'/>"/>
			</p>
			<p>
				<label>显示顺序：</label>
				<input type="text" maxlength="2"  name="articleType.showOrder" value="<s:property value='articleType.showOrder'/>" onKeyUp="this.value=this.value.replace(/[^0-9]/ig,'')"/>
			</p>
		</div>
		<div class="formBar">
			<ul>
				<!--<li><a class="buttonActive" href="javascript:;"><span>保存</span></a></li>-->
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">保存</button></div></div></li>
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
